home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
programming
/
other
/
gui4cli
/
g4c
/
ced
/
indent.g
< prev
next >
Wrap
Text File
|
1999-05-14
|
605b
|
34 lines
G4C
WINBIG 290 42 303 30 indent.g
WinType 11110001
BOX 0 0 0 0 out button
xOnLoad
indentval = "\t"
guiopen indent.g
xOnReLoad
guiopen indent.g
xOnRMB
guiclose indent.g
CTEXT 10 1 "Enter text to indent with (tab=\\t)" #screen 8 2 0 0001
XTEXTIN 6 12 210 14 "" indentval "\t" 100
gosub indent.g indent
XBUTTON 218 12 80 14 "Apply"
gosub indent.g indent
xroutine indent
SendRexx $cedbar.gc/cedport cut
lvuse CedClip.g 1
lvchange 'CLIPS:$cedbar.gc/cedClip'
call LVFormat INDENT '$indentval'
lvsave 'CLIPS:$cedbar.gc/cedClip'
SendRexx $cedbar.gc/cedport paste